﻿@model ForumTreeVM

@using System.Web.Mvc.Html
@using nanoCMS.Forum.WebUI.Models.AdminViewModels
@using nanoCMS.Forum.WebUI.Models.ViewModels

 <option value="@Model.ForumEntry.ForumID" @(Model.Selected ? "selected" : "") >
    @for(int i = 0; i < Model.Depth; i++)
    {
         @:-- 
    }
    @Model.ForumEntry.Title
 </option>
@foreach (var item in Model.Childern)
{
    Html.RenderPartial("ForumSelectBoxPartial", item);
}
